var runtime.ncpu
9 uses
runtime (current package)
debug.go#L43: return int(ncpu)
heapdump.go#L538: dumpint(uint64(ncpu))
lock_futex.go#L83: if ncpu > 1 {
mgc.go#L702: if work.stwprocs > ncpu {
mgc.go#L705: work.stwprocs = ncpu
os_linux.go#L344: ncpu = getproccount()
proc.go#L858: procs := ncpu
proc.go#L7156: if i >= active_spin || ncpu <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
runtime2.go#L1182: ncpu int32
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |